import React from 'react';
import { inject, observer } from 'mobx-react';
import { Button,Tag } from "antd";

@observer
class InfoTag extends React.Component {

    render() {
        const { color,name } = this.props;
        return (
            <div>
                <p style={{'backgroundColor':color}} className='info_Tag'>{name}</p>
            </div>
        )
    }

}

export {InfoTag};